package org.zcl.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.zcl.entity.User;

import javax.servlet.http.HttpServletRequest;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/7/4 20:55
 */
public interface SimpleContract {

    @GetMapping("/get/{id}")
    Integer getString(@PathVariable("id") Integer id, HttpServletRequest request);

    @GetMapping("/getById/{id}")
    User getById(@PathVariable(value = "id") Long id);
}
